package cn.itcast.fegin.config;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableFeignClients(basePackages = "cn.itcast.fegin.client")   // 扫描定义的FeignClient 也可以clients = {UserClient.class}
                                                               //利用META-INF下的spring.factories文件来读取该配置类
public class FeignConfig {
}
